<template>
  <div class="common-layout">
    <el-container class="container">
      <Aside/>
      <el-container>
        <el-header>
          <Top/>
        </el-header>
        <el-main>
          <RouterView/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script lang="ts" setup>
import { RouterView } from 'vue-router'
import { useRoute } from 'vue-router'
import Aside from './components/aside.vue'
import Top from './components/top.vue'
</script>
  
<style scoped>
.common-layout{
  height: 100%;
   .container{
    height: 100%;
    .el-header{
      padding: 0;
    }
  }
}
</style>